export const getPostList = async ({page, size}: {page: number, size: number}) => {
  const res = await fetch(`https://jsonplaceholder.typicode.com/posts?_page=${page}&_limit=${size}`)
  return res.json()
}